package com.example.mask.maskmobilesshop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @ClassName: AttributeValue
 * @author: Xlh
 * @date 2017年2月27日 下午5:16:22
 */
@TableName(value = "t_attribute_value")
public class AttributeValue implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 2797693209059545036L;

	/** 主键ID **/
	@TableId(type = IdType.AUTO, value = "attr_val_id")
	private Long attrValId;

	/** 属性值 **/
	@TableField(value = "attribute_value")
	private String attributeValue;

	/** 属性代码 **/
	@TableField(value = "code")
	private String code;

	/** 属性名ID **/
	@TableField(value = "attr_name_id")
	private Long attrNameId;

	public Long getAttrValId() {
		return attrValId;
	}

	public void setAttrValId(Long attrValId) {
		this.attrValId = attrValId;
	}

	public String getAttributeValue() {
		return attributeValue;
	}

	public void setAttributeValue(String attributeValue) {
		this.attributeValue = attributeValue;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getAttrNameId() {
		return attrNameId;
	}

	public void setAttrNameId(Long attrNameId) {
		this.attrNameId = attrNameId;
	}
}
